<template>
  <div class="home-container">
    <header class="header">
      <div class="logo-title">
        <img src="@/assets/lawyerlogo.png" alt="山西东奥律师事务所" class="logo">
        <h1 class="law-firm-name">{{ lawFirmName }}</h1>
      </div>
    </header>

    <main class="main-content">
      <div class="intro-section">
        <!-- 保留核心介绍文本区域，移除右侧auth-box -->
        <div class="intro-text">
          <h2>专业 · 诚信 · 卓越</h2>
          <p>山西东奥律师事务所成立于2004年，是经山西省司法厅批准设立的综合性律师事务所，位于太原市万柏林区迎泽西大街。</p>
          <p>我们拥有47名执业律师和14名助理团队，在民商事诉讼、刑事诉讼、法律顾问等传统业务基础上，发展了金融、证券、房地产、知识产权等专业领域服务。</p>
          <div class="highlights">
            <div class="highlight-item">
              <span class="highlight-icon">🏛️</span>
              <h3>综合性业务</h3>
              <p>业务范围全面，团队合作精神强</p>
            </div>
            <div class="highlight-item">
              <span class="highlight-icon">📚</span>
              <h3>丰富经验</h3>
              <p>定期法律培训，理论实践结合</p>
            </div>
            <div class="highlight-item">
              <span class="highlight-icon">🤝</span>
              <h3>公共关系</h3>
              <p>良好沟通协调能力，广泛社会资源</p>
            </div>
          </div>
        </div>
      </div>
    </main>
  </div>
</template>

<script setup>
import { ref } from 'vue'

// 仅保留律所名称核心数据，删除登录/入会相关的路由、表单、验证逻辑
const lawFirmName = ref('山西东奥律师事务所')
</script>

<style scoped>
.home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  height: 60px;
  width: auto;
}

.law-firm-name {
  font-size: 1.8rem;
  color: #1a3e72;
  font-weight: bold;
  margin: 0;
}

.main-content {
  line-height: 1.8;
  color: #444;
}

.intro-section {
  /* 移除原flex布局（因右侧auth-box已删），改为默认块级布局 */
  margin-top: 30px;
}

.intro-text h2 {
  color: #1a3e72;
  font-size: 2rem;
  margin-bottom: 20px;
}

.intro-text p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.highlights {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 20px;
}

.highlight-item {
  flex: 1;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.highlight-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.highlight-item h3 {
  color: #1a3e72;
  margin: 10px 0;
}

.highlight-item p {
  font-size: 0.9rem;
  color: #666;
}

/* 响应式调整：保留亮点区域的移动端适配 */
@media (max-width: 768px) {
  .highlights {
    flex-direction: column;
  }
}
</style>
